package com.spring;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication//这是springboot启动类的注解
@MapperScan("com.spring.mapper")
public class Application {

    public static void main(String[] args) {
        //启动方法
        SpringApplication.run(Application.class,args);
    }

}
